package com.hl.card.common.persistence.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author huangpu
 * @since 2018-06-05
 */
@TableName("profit_scale")
public class ProfitScale extends Model<ProfitScale> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 产品类型
     */

	private String goodsName;

    /**
     * 会员
     */
	private Double member;
    /**
     * 合伙人
     */
	private Double partenr;
    /**
     * 返利比豆
     */
	private Integer bean;
    /**
     * 备注
     */
	private String remarks;
    /**
     * 比比旅行
     */
	private Double bibi;
	/**
	 * 产品代码
	 */
	@TableField("goods_code")
	private String goodsCode;

	public String getGoodsCode() {
		return goodsCode;
	}

	public void setGoodsCode(String goodsCode) {
		this.goodsCode = goodsCode;
	}

	public Double getMember() {
		return member;
	}

	public void setMember(Double member) {
		this.member = member;
	}

	public Double getPartenr() {
		return partenr;
	}

	public void setPartenr(Double partenr) {
		this.partenr = partenr;
	}

	public Double getBibi() {
		return bibi;
	}

	public void setBibi(Double bibi) {
		this.bibi = bibi;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}





	public Integer getBean() {
		return bean;
	}

	public void setBean(Integer bean) {
		this.bean = bean;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}



	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "ProfitScale{" +
			"id=" + id +
			", goodsName=" + goodsName +
			", member=" + member +
			", partenr=" + partenr +
			", bean=" + bean +
			", remarks=" + remarks +
			", bibi=" + bibi +
			"}";
	}
}
